This file discusses the steps needed to replicate the analyses reported in "Does Social Disagreement Attenuate Partisan Motivated Reasoning? A Test Case Concerning Economic Evaluations" by Joshua Robison. 

Step 1: Download the Data

This paper uses data from the 1992 (US) Cross-National Election Project, the 2000 ANES, 2002 ANES Panel, 2006 ANES Pilot, and 2008-2009 ANES Panel Survey. The datasets for the ANES surveys can be obtained via the URLs below after registrering with the ANES. The 1992 CNEP data is contained within the dataverse as a .dta file; its original SPSS version can be found via the link below. To replicate the analyses in text, download the files and save them to a common folder. 

	1992 CNEP: 
		https://u.osu.edu/cnep/surveys/surveys-through-2012/

	ANES Surveys: 
		http://www.electionstudies.org/studypages/download/datacenter_all_NoData.php

		2000 ANES: http://www.electionstudies.org/studypages/2000prepost/2000prepost.htm
		2002 ANES Panel: http://www.electionstudies.org/studypages/anes_mergedfile_2000to2004/anes_mergedfile_2000to2004.htm
		2006 ANES: http://www.electionstudies.org/studypages/2006pilot/2006pilot.htm
		2008-2009 ANES Panel: http://www.electionstudies.org/studypages/2008_2009panel/anes2008_2009panel.htm

Step 2: Clean the Data

Contained in this dataverse are cleaning files for each survey, e.g. "Data Cleaning - 1992 CNEP". These must be run before you analyze the data. However, note that the various .do files also contained in this dataverse for each analysis (e.g. "Figure 1 - Deficit Knowledge") will contain code that will automatically run the relevant survey's do file, so this does not need to be done from the .do file itself. However, you *will* need to do to rename the ANES .dta files to match the cleaning files, e.g. "ANES2006.dta". 

A secondary note: One of the analyses for Online Appendix C looks at what happens when the disagreement measure focuses just on partisan pairs. Data cleaning files specific to these analyses are also included (e.g. "Data Cleaning - Partisan Pair Analysis - 1992 CNEP.do".

Step 3: Run the Code

The remainder of the .do files contain the actual analyses code. As noted, the .do files will automatically call and clean the data as needed and then run the relevant analyses. 

There are two important things that have to be done before you use these files. First, you have to update the file path corresponding to where you have the data and .do files (e.g. change the cd command to correspond to your computer). Second, you have to install (if you have not already) some additional STATA modules used to create the Tables and Figures in text. The code for doing so is commented out at the beginning of each .do file. In general, you will need esstab for creating the tables and grc1leg, combomarginsplot, blindschemes, and coefplot for creating the graphs. 

If you have any questions, please email me at jrobison@ps.au.dk 
